
<ion-view>
        <ion-tabs class="tabs-top tabs-stable tabs-color-positive">
			<ion-tab title="{{dateInfo['today']['weekInfo']}}">
				<ion-view class="has-tabs">
					<ion-content>
						<ion-list>
							<div ng-repeat="(key,value) in typeInfo">
								
								<ion-item class="item-icon-right" ng-click="toggleGroup('today',key)">
									{{value['name']}}
									<i class="coll-right icon ion-chevron-down " style="font-size:15px;"></i>
								</ion-item>
								<div ng-show="isToggleGroup('today',key)">
									<ion-item  ng-repeat="item in orderInfo['today'][key]" class="order_item">
										<div class="row">
											<p class="col">{{item["avaliTime"]}}</p>
											<p class="col">{{item["used"]}}/{{item["all"]}}</p>
											<button class="col button button-small button-positive" ng-disabled="!{{item['enable']}}" ng-click="newOrder(key,'today',item['avaliTime'])">预约</button>
										</div>
									</ion-item>
								</div>
							</div>
						</ion-list>
					</ion-content>
				</ion-view>
			</ion-tab>
			<ion-tab title="{{dateInfo['tomorrow']['weekInfo']}}">
				<ion-view>
					<ion-content class="has-tabs">
						<ion-list>
							<div ng-repeat="(key,value) in typeInfo">
								
								<ion-item class="item-icon-right" ng-click="toggleGroup('tomorrow',key)">
									{{value['name']}}
									<i class=" coll-right icon ion-chevron-down" style="font-size:15px;"></i>
								</ion-item>
								<div ng-show="isToggleGroup('tomorrow',key)">
									<ion-item  ng-repeat="item in orderInfo['tomorrow'][key]">
										<div class="row">
											<p class="col">{{item["avaliTime"]}}</p>
											<p class="col">{{item["used"]}}/{{item["all"]}}</p>
											<button class="col button button-small button-positive" ng-disabled="!{{item['enable']}}" ng-click="newOrder(key,'tomorrow',item['avaliTime'])">预约</button>
										</div>
									</ion-item>
								</div>

							</div>
						</ion-list>
					</ion-content>
				</ion-view>
			</ion-tab>
			<ion-tab title="{{dateInfo['afterTomo']['weekInfo']}}">
				<ion-view>
					<ion-content class="has-tabs">
						<ion-list>
							<div ng-repeat="(key,value) in typeInfo">
								
								<ion-item class="item-icon-right" ng-click="toggleGroup('afterTomo',key)">
									{{value['name']}}
									<i class="icon ion-chevron-down coll-right" style="font-size:15px;"></i>
								</ion-item>
								<div ng-show="isToggleGroup('afterTomo',key)">
									<ion-item  ng-repeat="item in orderInfo['afterTomo'][key]">
										<div class="row">
											<p class="col">{{item["avaliTime"]}}</p>
											<p class="col">{{item["used"]}}/{{item["all"]}}</p>
											<button class="col button button-small button-positive" ng-disabled="!{{item['enable']}}" ng-click="newOrder(key,'afterTomo',item['avaliTime'])">预约</button>
										</div>
									</ion-item>
								</div>

							</div>
						</ion-list>
					</ion-content>
				</ion-view>
			</ion-tab>
        </ion-tabs>
</ion-view>